﻿// -----------------------------------------------------------------------
// <copyright file="ITemplateResolver.cs" company="EPAM Systems">
////Copyright (c) EPAM Systems, 2012. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------

namespace MBOP.Core.Interfaces.TextTemplatesCore
{
	/// <summary>
	/// Provides the common interface of the template resolving.
	/// </summary>
	public interface ITemplateResolver
	{
		/// <summary>
		/// Resolves the current in-memory template.
		/// </summary>
		/// <param name="template">The current template.</param>
		/// <param name="templateModel">The template model.</param>
		/// <returns>The result of the resolving.</returns>
		string ResolveTemplate(string template, dynamic templateModel);
	}
}
